$(document).ready(function(){
	//FLEXISLIDER
	jQuery('.flexslider').flexslider({
		animation: "slide",
		start: function(slider){
		  $('body').removeClass('loading');
		}
	});
	
	//JCAROUSEL
	jQuery('.first-and-second-carousel').jcarousel();
	
	
	//SLIDE TOGGLE
	jQuery(".minicart_link").toggle(function() {
		 $('.cart_drop').slideDown(300);	
		 }, function(){
		 $('.cart_drop').slideUp(300);		 
	});	
	
	
	//FORM ELEMENTS
	jQuery("select").uniform(); 

});

/**
 * 商品介绍和商品评价 标签切换
 * @param id
 */
function ChangeVideoInfoBox3(id)
{
 try
 {
     document.getElementById("detail_tab5_content").style.display="none";
     document.getElementById("detail_tab6_content").style.display="none";
    
     document.getElementById(id + "_content").style.display="block";
	  if(id=="detail_tab6"){
		  document.getElementById("detail_tab5").style.backgroundColor="#EF5A1F";
		  document.getElementById("detail_tab6").style.backgroundColor="#544f4b";
	  }
	   if(id=="detail_tab5"){
		  document.getElementById("detail_tab6").style.backgroundColor="#EF5A1F";
		  document.getElementById("detail_tab5").style.backgroundColor="#544f4b";
	  }
 }
 catch(e)
 {}
}

